package com.huoxingy.statics;

import com.huoxingy.statics.controllers.RequestLoggingFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * Created by hanxi on 2018/1/6.
 */
@SpringBootApplication
public class Application {
    @Bean
    public RequestLoggingFilter requestLoggingFilter() {
        return new RequestLoggingFilter();
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
